package com.jthinker.blog.bean.vo;

import com.jthinker.blog.bean.enu.SortOrder;

/**
 * User: Gang Chen
 * Date: 2015/7/11 20:41
 */
public class Filter
{
    private static final int DEFAULT_PAGE_SIZE = 10;

    private static final int DEFAULT_PAGE = 1;

    private int page = DEFAULT_PAGE;
    private int pageSize = DEFAULT_PAGE_SIZE;
    private String sort;
    private SortOrder sortOrder;

    public int getPage()
    {
        return page;
    }

    public void setPage(int page)
    {
        this.page = page;
    }

    public int getPageSize()
    {
        return pageSize;
    }

    public void setPageSize(int pageSize)
    {
        this.pageSize = pageSize;
    }

    public String getSort()
    {
        return sort;
    }

    public void setSort(String sort)
    {
        this.sort = sort;
    }

    public SortOrder getSortOrder()
    {
        return sortOrder;
    }

    public void setSortOrder(SortOrder sortOrder)
    {
        this.sortOrder = sortOrder;
    }

}
